import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        mapInfomation: '地图',
        addres: []
    },
    getters: {
        map: state => { return state.mapInfomation }
    },
    mutations: {
        address: (state, locationAddress) => {
            return state.addres = locationAddress
        }
    },
    actions: {

    }
})